﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lepton_Practical_MVVM_6_1 {
    /// <summary>
    /// 菜单接口
    /// </summary>
    public interface IMenuService {
        /// <summary>
        /// 注册菜单命令
        /// </summary>
        /// <param name="newItemDisplayName">插入项标题</param>
        /// <param name="parentDisplayName">父项标题</param>
        /// <param name="view">点击后打开的视图类型</param>
        /// <param name="iconURI">菜单图示，默认值为 null</param>
        void RegisterMenu (
            string newItemDisplayName,
            string parentDisplayName,
            Type view,
            Uri iconURI = null);
    }
}
